package model;

import java.util.ArrayList;

public class N_gram {
	
	private int lenght;
	private ArrayList<String> words;
	private ArrayList<Word> words_list;
	private Document document;	//documento al que pertenece
	private ArrayList<Document> documents_list; 	//docuementos en los que aparece
	private double tf;
	private double idf;
	private double tf_idf;
	private double log_tf;
	private double log_idf;
	
	public N_gram(Document document_in, ArrayList<String> words_in){
		this.document=document_in;
		this.words=words_in;
	}

	
	
	/*
	 * -----------------------------Getters & Setters---------------------------
	 * 
	 * */
	
	
	public int getLenght() {
		return lenght;
	}

	public void setLenght(int lenght) {
		this.lenght = lenght;
	}

	public ArrayList<String> getWords() {
		return words;
	}

	public void setWords(ArrayList<String> words) {
		this.words = words;
	}

	public ArrayList<Word> getWords_list() {
		return words_list;
	}

	public void setWords_list(ArrayList<Word> words_list) {
		this.words_list = words_list;
	}

	public Document getDocument() {
		return document;
	}

	public void setDocument(Document document) {
		this.document = document;
	}

	public ArrayList<Document> getDocuments_list() {
		return documents_list;
	}

	public void setDocuments_list(ArrayList<Document> documents_list) {
		this.documents_list = documents_list;
	}

	public double getTf() {
		return tf;
	}

	public void setTf(double tf) {
		this.tf = tf;
	}

	public double getIdf() {
		return idf;
	}

	public void setIdf(double idf) {
		this.idf = idf;
	}

	public double getTf_idf() {
		return tf_idf;
	}

	public void setTf_idf(double tf_idf) {
		this.tf_idf = tf_idf;
	}

	public double getLog_tf() {
		return log_tf;
	}

	public void setLog_tf(double log_tf) {
		this.log_tf = log_tf;
	}

	public double getLog_idf() {
		return log_idf;
	}

	public void setLog_idf(double log_idf) {
		this.log_idf = log_idf;
	}
	
}
